package com.kayt.cyberBar.company.business.service;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;

import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.company.business.entity.vo.CompanyAccountListVO;
import com.kayt.cyberBar.company.business.entity.vo.CompanyAccountVO;

@Path("/account")
@Produces({"application/json","application/xml"})
@Consumes({"application/json"})
public interface ICompanyAccountService {

	@POST
	@Path("addAccount.do")
	public ServerResponse<CompanyAccountVO> addAccount();

	@POST
	@Path("updateAccount.do")
	public ServerResponse<String> updateAccount(CompanyAccountVO vo);

	@GET
	@Path("deleteAccount.do")
	public ServerResponse<String> deleteAccount(@QueryParam("code")String code);

	@GET
	@Path("getAccount.do")
	public ServerResponse<CompanyAccountVO> getAccount(@QueryParam("")CompanyAccountVO vo);

	@GET
	@Path("addAccountList.do")
	public ServerResponse<String> addAccountList(CompanyAccountListVO vo);

}
